package com.atguigu.jvm.chap04;

public class DynamicLinkingDemo {

    public void methodA(){
        methodB(); // 方法A引用方法B
    }

    public void methodB(){
        System.gc();

        try {
            Thread.sleep(100);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
    }
}